// JavaScript Document
STICKER = {};

// FPS
STICKER.FPS = 60;

// 렌더링 인터벌
STICKER.RENDER_INTERVAL = (1/STICKER.FPS)*1000;

// SingleTimer Default Delay ms
STICKER.SINGLE_TIMER_DELAY = 1000;

// 디버그
STICKER.log = function()
{
	if( console != undefined && console.log != undefined )
	{
		if( arguments.length <= 1 )
		{
			console.log( "STLOG", arguments[0] );
		}else{
			for( var i in arguments )
			{
				console.log( "STLOG"+i, arguments[i] );
			}
		}
	}else
	{
		STICKER.log = function(){};
	}
};

// 유틸함수
if (!String.prototype.trim) {
 String.prototype.trim = function() {
  return this.replace(/^\s+|\s+$/g,'');
 }
}